﻿<%@ Page Language="C#" MasterPageFile="~/Admin/SanPham/MasterPageSanPham.master" AutoEventWireup="true" CodeFile="ChiTietBinhLuan.aspx.cs" Inherits="Admin_SanPham_ChiTietBinhLuan" Title="Chi tiết bình luận" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title">
          Chi tiết bình luận
        </div>                
        <div>
          <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
                  <tr>
                    <td style="width:30%">Mã bình luận</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_MaBL" runat="server"></asp:Literal>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Tên khách hàng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TenKH" runat="server"></asp:Literal>
                    </td>
                </tr> 
                  <tr>
                    <td style="width:30%">Tên sản phẩm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TenSP" runat="server"></asp:Literal>
                    </td>
                </tr> 
                <tr>
                    <td style="width:30%">Ngày gửi</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayGui" runat="server"></asp:Literal>
                    
                     </td>   
                </tr>
                  <tr>
                    <td style="width:30%">Nội dung</td>
                    <td style="width:70%">
                         <asp:Literal ID="lit_NoiDung" runat="server"></asp:Literal>
                    </td>
                </tr>    
              
              
            </table>
        </div>
       <div>
            <br />
            Danh sách trả lời
             <div class="addnewrow" style="display:table-cell; width:20%;float:right;"> 
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click1">Xóa</asp:LinkButton>
                    
            </div>   
          <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
         
                        <th>Tên khách hàng</th>
                        <th>Ngày trả lời</th>
                        <th>Nội dung</th>
                        <th>Xóa</th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
            
                <td>
                    <asp:Literal ID="lit_TenKH" runat="server"></asp:Literal>
                </td>
                <td>
                    <asp:Literal ID="lit_NgayGui" runat="server"></asp:Literal>
                </td>
                <td><%#Eval("TraLoi")%> </td>
                 <td>
                  <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("MaTL") %>' runat="server" />
                   
                </td>
                
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater> 
        </div> 
 </div>
    <cc1:PagerV2_8 ID="pager" runat="server" />
 </div>
</asp:Content>

